home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / interfac / mod.000 / scripts / CheckBoxAssets.as < prev    next >
Text File  |  2011-01-06  |  486b  |  17 lines

  1. mx.controls.CheckBox.prototype.adjustFocusRect = function()
  2. {
  3.    var _loc4_ = this._parent.focus_mc;
  4.    var _loc2_ = this.iconName;
  5.    var _loc3_ = this.getStyle("themeColor");
  6.    if(_loc3_ == undefined)
  7.    {
  8.       _loc3_ = 8453965;
  9.    }
  10.    var _loc8_ = _loc2_._width + 4;
  11.    var _loc5_ = _loc2_._height + 4;
  12.    _loc4_.setSize(_loc8_,_loc5_,0,100,_loc3_);
  13.    var _loc7_ = _loc2_._x;
  14.    var _loc6_ = _loc2_._y;
  15.    _loc4_.move(this.x - 2 + _loc7_,this.y + _loc6_ - 2);
  16. };
  17.